// RFUsbDemoView.cpp : implementation of the CRFUsbDemoView class
//

#include "stdafx.h"
#include "RFUsbDemo.h"

#include "RFUsbDemoDoc.h"
#include "RFUsbDemoView.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CRFUsbDemoView

IMPLEMENT_DYNCREATE(CRFUsbDemoView, CView)

BEGIN_MESSAGE_MAP(CRFUsbDemoView, CView)
	//{{AFX_MSG_MAP(CRFUsbDemoView)
		// NOTE - the ClassWizard will add and remove mapping macros here.
		//    DO NOT EDIT what you see in these blocks of generated code!
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CRFUsbDemoView construction/destruction

CRFUsbDemoView::CRFUsbDemoView()
{
	// TODO: add construction code here

}

CRFUsbDemoView::~CRFUsbDemoView()
{
}

BOOL CRFUsbDemoView::PreCreateWindow(CREATESTRUCT& cs)
{
	// TODO: Modify the Window class or styles here by modifying
	//  the CREATESTRUCT cs

	return CView::PreCreateWindow(cs);
}

/////////////////////////////////////////////////////////////////////////////
// CRFUsbDemoView drawing

void CRFUsbDemoView::OnDraw(CDC* pDC)
{
	CRFUsbDemoDoc* pDoc = GetDocument();
	ASSERT_VALID(pDoc);

	// TODO: add draw code for native data here
}

/////////////////////////////////////////////////////////////////////////////
// CRFUsbDemoView diagnostics

#ifdef _DEBUG
void CRFUsbDemoView::AssertValid() const
{
	CView::AssertValid();
}

void CRFUsbDemoView::Dump(CDumpContext& dc) const
{
	CView::Dump(dc);
}

CRFUsbDemoDoc* CRFUsbDemoView::GetDocument() // non-debug version is inline
{
	ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CRFUsbDemoDoc)));
	return (CRFUsbDemoDoc*)m_pDocument;
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CRFUsbDemoView message handlers
